package com.jb.charts;

import org.jCharts.test.TestDataGenerator;

public class DummyChartModel implements ChartModel{
    public int getSeries() {
        return 3;
    }
    public String[] getXLabels() {
        return new String[]{ "1998", "1999", "2000", "2001", "2002", "2003", "2004" };
    }
    
    public double[][] getData() {
        return  TestDataGenerator.getRandomNumbers(3, 7, 600, 1500);
    }
    
    public String[] getLegends() {
       return new String[]{ "Bugs", "Security Holes", "Backdoors" };
    }
    public static void main(String[] args) {
        double[][] dd = TestDataGenerator.getRandomNumbers(3, 7, 600, 1500);
        System.err.println(dd[0].length);
    }
}
